package com.fs.zise;
/**
 * <p>Title:A*Ѱ·�㷨�е�һ���ڵ� </p>
 *
 * <p>Description: A*Ѱ·�㷨�е�һ���ڵ� </p>
 *
 * <p>Copyright: Copyright (c) 2005 wodead</p>
 *
 * <p>Company: wodead</p>
 * Download by http://www.codefans.net
 * @author wodead
 * @version 1.0
 */
public class BlockNode {
    //�����
    public BlockNode parent = null;
    //Gֵ
    public int g = 0;
    //Hֵ
    public int h = 0;
    //λ������
    public int row = 0;
    //λ������
    public int column = 0;

    public BlockNode(int row, int column, BlockNode parent) {
        this.row = row;
        this.column = column;
        this.parent = parent;
    }

    public int getF() {
        return g + h;
    }
}
